package com.example.xwquarz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@ComponentScans({
        @ComponentScan("com.huanong.it"),
        @ComponentScan("com.example.xwquarz.scheduler")
})
@RefreshScope
@EnableFeignClients("com.huanong.it.xwcommon.service")
public class XwQuarzApplication {

    public static void main(String[] args) {
        SpringApplication.run(XwQuarzApplication.class, args);
    }

}
